﻿using System;

class StringVarsHelloWorld
{
    static void Main()
    {
        //Exercise 7.
        //Declare two string variables and assign them with “Hello” and “World”. Declare an object variable and assign it with 
        //the concatenation of the first two variables (mind adding an interval). Declare a third string variable and 
        //initialize it with the value of the object variable (you should perform type casting).

        string Var1 = "Hello";
        string Var2 = "World";
        object concatVar = Var1 + " " + Var2;       
        string Var3 = (string)concatVar;
        Console.WriteLine(Var3);
    }
}

